<div class="bjui-pageContent">
    <form action="/admin/process/dict-category" data-toggle="ajaxform" data-options="{closeCurrent:true}">
        <div class="bjui-row col-2">

            <label class="row-label">字段名称</label>
            <div class="row-input">{{$data['field_info']['title']}}</div><br>
            <input type="hidden" name="field_id" value="{{$data['field_info']['field_id']}}">

            <label class="row-label">选择分类</label>
            <div>
                @foreach ($data['category_list'] as $val)
                    <div class="row-input">
                        @if ($data['field_info']['category_id'] == $val['id'])
                            <input type="radio" checked name="category_id" value="{{$val['id']}}">{{$val['cat_name']}}
                        @else
                            <input type="radio" name="category_id" value="{{$val['id']}}">{{$val['cat_name']}}
                        @endif
                    </div>
                @endforeach
            </div>
            <label class="row-label"></label>
            <div class="row-input">
                <button type="submit" class="btn-default">保存</button>
            </div>
        </div>
        <!--<div class="bjui-pageFooter">
            <ul>
                <li><button type="button" class="btn-close" data-icon="close">取消</button></li>
                <li><button type="submit" class="btn-default" data-icon="save">保存</button></li>
            </ul>
        </div>-->
    </form>
</div>